package com.blogsoho.taurus.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by user on 2017/6/1.
 */
@EnableAutoConfiguration
@Controller
public class LoginController extends BaseController {

	@GetMapping("login")
	public String login(ModelMap model) {

		System.out.println("111");
		model.addAttribute("a", "a");
		System.out.println("222");
		return "admin/user-login";
	}
}
